Skip to content

fix(atlas-core): rfind for last path part in c8_profile (clippy verdict, #12919) - #13049

Merged
dezren39 merged 2 commits into
mainfrom
lane-hw/12919-clippy-verdict
Nov 23, 2026
Merged

dezren39 merged 2 commits into
mainfrom
lane-hw/12919-clippy-verdict

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Clippy verdict slice for #12919. cargo clippy -p atlas-core --all-targets (nix develop in pkgs/atlas-search, fresh CARGO_TARGET_DIR, FI's recipe) completed with exit 0 and exactly one finding in the C8-M profile core: clippy::filter_next at c8_profile.rs:127. This PR applies clippy's suggested form (split('/').rfind(..)), semantics unchanged.

Verification: clippy re-run exit 0 with zero c8_profile findings; cargo test -p atlas-core 353 passed / 0 failed. Remaining atlas-core clippy warnings are pre-existing, outside c8_profile, and recorded on #12919.

Closes #12919


Run Proof on this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Clippy verdict run for #12919 (cargo clippy -p atlas-core
--all-targets, nix develop, fresh CARGO_TARGET_DIR) reported one
finding in the C8-M profile core: clippy::filter_next at
c8_profile.rs:127 — filter(..).next_back() on a DoubleEndedIterator.
Replaced with split('/').rfind(..), the exact form clippy suggests;
semantics unchanged.

Re-run after the fix: clippy exit 0 with zero c8_profile findings;
cargo test -p atlas-core 353 passed / 0 failed.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 16 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1ac27fd3-eb23-40da-9145-ed2f506e6d92
Commits

Reviewing files that changed from the base of the PR and between 4a69436 and 94d364b.

Files selected for processing: 1

  • pkgs/atlas-search/crates/atlas-core/src/c8_profile.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T07:38:25.418468Z 10df792 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit d961281 into main Nov 23, 2026
1 check passed
@dezren39
dezren39 deleted the lane-hw/12919-clippy-verdict branch November 23, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

C8-M: metadata profile and typed links for report/page ingestion

1 participant